#ifndef _GD32F30x_Board_H__
#define _GD32F30x_Board_H__

#include "gd32f30x.h"

// Base address of the Flash sectors

#define CONFIG_FLASH_ADDRESS      FLASH_BASE
#define CONFIG_FLASH_PAGE_SIZE    2048

#define CONFIG_IAP_INFO_ADDR      (CONFIG_FLASH_ADDRESS + CONFIG_FLASH_PAGE_SIZE*3)

#define CONFIG_NVM_SIZE  	 	  (CONFIG_FLASH_PAGE_SIZE * 8)
#define CONFIG_NVM0_ADDRESS       (CONFIG_FLASH_ADDRESS + CONFIG_FLASH_PAGE_SIZE * 100)
#define CONFIG_NVM1_ADDRESS       (CONFIG_NVM0_ADDRESS + CONFIG_NVM_SIZE)

#define CONFIG_MC105_VER3_ID2 2
#define CONFIG_MC105_VER3_ID1 1

/* include your board.h and define CONFIG_BOARD_NAME*/


#endif /* _GD32F30x_Board_H__ */

